Page({
  data: {
    navBtn: [{
      name: "工作提醒",
      id: "1"
    }, {
      name: "目标协议",
      id: "2"
    }, {
      name: "系统信息",
      id: "3"
    }],
    navNum: [{
      num: "48",
      id: "1"
    }, {
      num: "5",
      id: "2"
    }, {
      num: "5",
      id: "3"
    }],
    trader: [{
      name: "意向客户",
      url: "https://www.qlsyyun.com:3000/images/图标/意向统计.png",
      id: "1"
    }, {
      name: "销售漏斗",
      url: "https://www.qlsyyun.com:3000/images/图标/漏斗.png",
      id: "2"
    }, {}, {}],
    target: [{
      name: "指标总量",
      url: "https://mp-84f65a56-8020-49a9-9171-b90e952975ed.cdn.bspapp.com/cloudstorage/25fe3612-4486-4235-baff-d53c4f293e4d.png",
      id: "1"
    }, {
      name: "指标个人",
      url: "https://mp-84f65a56-8020-49a9-9171-b90e952975ed.cdn.bspapp.com/cloudstorage/081bef71-3f2f-4762-bb10-e6854a180e89.png",
      id: "2"
    }, {
      name: "过程指标",
      url: "https://mp-84f65a56-8020-49a9-9171-b90e952975ed.cdn.bspapp.com/cloudstorage/aed49ded-a6f2-48ad-aee8-08bb457e175d.png",
      id: "3"
    }, {
      name: "结果指标",
      url: "https://mp-84f65a56-8020-49a9-9171-b90e952975ed.cdn.bspapp.com/cloudstorage/6b5fc993-98df-45e5-827a-09f3d454c077.png",
      id: "4"
    }],
    revise: [{
      name: "修改指标",
      url: "https://mp-84f65a56-8020-49a9-9171-b90e952975ed.cdn.bspapp.com/cloudstorage/727c6567-0b9f-4756-89e1-e389ba42e2b3.png",
      id: "1"
    }],
    ownlease: [{
      name: "去化",
      url: "https://www.qlsyyun.com:3000/images/图标/去化.png",
      id: "1"
    }],
    resource: [{
      name: "产业资料",
      url: "https://www.qlsyyun.com:3000/images/图标/产业资料.png",
      id: "1"
    }],
    score: [{
      name: "达成情况",
      url: "https://www.qlsyyun.com:3000/images/图标/圈子.png",
      id: "1"
    }],
    hidden: !1
  },
  onLoad: function () {
    var e = wx.getStorageSync("user");
    ("综合管理中心" == e[1] || e[4] > 6) && this.setData({
      hidden: !0
    })
  },
  startOwn: function (e) {
    var a = e.currentTarget.dataset.index;
    1 == a ? wx.navigateTo({
      url: "/pages/attractCount/ownclient/ownclient?id=" + a
    }) : 2 == a && wx.navigateTo({
      url: "/pages/attractCount/ownfunnel/ownfunnel?id=" + a
    })
  },
  reach: function (e) {
    var a = e.currentTarget.dataset.index;
    1 == a ? wx.navigateTo({
      url: "/pages/metricAchieve/metricAchieve/metricAchieve?id=" + a
    }) : 2 == a ? wx.navigateTo({
      url: "/pages/metricAchieve/individual/individual?id=" + a
    }) : 3 == a ? wx.navigateTo({
      url: "/pages/metricAchieve/process/process?id=" + a
    }) : wx.navigateTo({
      url: "/pages/metricAchieve/result/result?id=" + a
    })
  },
  quotaBtn: function () {
    wx.navigateTo({
      url: "/pages/metricAchieve/revise/revise"
    })
  },
  chanyeBtn: function () {
    wx.navigateTo({
      url: "/pages/industry/industry/industry"
    })
  },
  exploit: function (e) {
    wx.navigateTo({
      url: "/pages/mine/develop/develop"
    })
  },
  calcBtn: function () {
    wx.navigateTo({
      url: "/pages/count/count/count"
    })
  },
  ownHire: function () {
    wx.navigateTo({
      url: "/pages/hireCount/rent/rent"
    })
  },
  fraction: function (e) {
    wx.navigateTo({
      url: "/pages/target/target/target"
    })
  }
});